package com.vf.admin.miaodong.entity;

import com.vf.admin.common.db.annotation.Column;
import com.vf.admin.common.db.annotation.NoColumn;
import com.vf.admin.common.db.annotation.Table;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 签到配置表
 */
@Table(name = "app_sign_config")
public class AppSignConfig implements Serializable {

    private static final long serialVersionUID = 1L;

    @Column(length = 11, name = "id", index = true)
    private Integer id;
    private Integer day;//天数
    private String giveDiamonds;//赠送钻石

    @NoColumn
    private String surfaceName;
    @NoColumn
    private Integer isSign;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDay() {
        return day;
    }

    public void setDay(Integer day) {
        this.day = day;
    }

    public String getGiveDiamonds() {
        return giveDiamonds;
    }

    public void setGiveDiamonds(String giveDiamonds) {
        this.giveDiamonds = giveDiamonds;
    }

    public String getSurfaceName() {
        return surfaceName;
    }

    public void setSurfaceName() {
        this.surfaceName = "第" + this.day + "天";
    }

    public Integer getIsSign() {
        return isSign;
    }

    public void setIsSign(Integer isSign) {
        this.isSign = isSign;
    }
}
